package com.action.workreport;
import java.util.*;

import com.db.workreport.*;

public class ContentAction {
	private int no;
	private WorkReportVO vo=new WorkReportVO();
	private WorkReportDAO reportDAO;
	

	
	public void setReportDAO(WorkReportDAO reportDAO) {
		this.reportDAO = reportDAO;
	}


	public WorkReportVO getVo() {
		return vo;
	}


	public void setNo(int no) {
		this.no = no;
	}


	public String execute() throws Exception{
		
		vo=reportDAO.callContentData(no);
		
		return "success";
	}
	
}
